package io.plus.common.packet.group;

import io.plus.common.packet.User;
import io.plus.common.packet.metadata.RequestMessage;
import lombok.Data;

/**
 * 退出群组通知消息体
 */
@Data
public class ExitGroupNotifyResponseBody extends RequestMessage {

    private static final long serialVersionUID = 3680734574052114902L;
    private User user;
    private String group;


    public ExitGroupNotifyResponseBody setGroup(String group) {
        this.group = group;
        return this;
    }

    public ExitGroupNotifyResponseBody setUser(User user) {
        this.user = user;
        return this;
    }
}
